﻿using System.Collections.Generic;
using System.Windows.Markup;

namespace Rhizome.QuickStart.Elevator.Model
{
    /// <summary>
    ///   Elevator shaft
    /// </summary>
    [ContentProperty("Floors")]
    public class Shaft
    {
        public Shaft()
        {
            Floors = new List<Floor>();
        }

        /// <summary>
        ///   Height of elevator shaft
        /// </summary>
        public double Height { get; set; }

        public List<Floor> Floors { get; private set; }
    }
}